﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<List<Kampeerplek>>" %>
<%@ Import namespace="ICT4Events.Models" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Reservering
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Mijn reservering</h2>
    <%var bk = ViewData["bk"] as BetalendeKlant;%>

    <%if (Model.Count() > 0)
      { %>
    <div  style="float:left">
    <table>
    <tr>
        <th>
            Kampeerplaatsen
        </th>
        
    </tr>    
    
    <%foreach (var k in Model)
      {%>
    <tr>
        <td>
              <%:k.PlaatsNummer%>
        </td>
    </tr>
    <%}%>
        
    </table>
    </div>
    
    

    <div style="float:left;border-left:15px solid #ccff99">
    <table>
    <tr>
        <th>
            RFID's
        </th>
        
    </tr>
    
    <%foreach (var r in ViewData["rfidlist"] as List<string>)
      {%>
    <tr>
        <td>
              <%:r%>
        </td>
    </tr>
    <%}%>
        
    </table>
    <br />
    Aantal personen: <%:ViewData["aantalpersonen"]%>
    </div>

    <%} %>
    <div style="float:left;border-left:15px solid #ccff99">
    Reserveringsnummer: <%:bk.Reserveringsnummer %><br /><br />
    Op naam van: <%:bk.Naam %><br /><br />
    RFID: <%:bk.Rfid %><br />
    </div>
    <div style="clear:both">
        
    </div>
</asp:Content>
